home *** CD-ROM | disk | FTP | other *** search
/ Champak 132 (Alt) / Vol 132.iso / games / 3d_hyper / 3d_hyper.dcr / Scripts_21_OverviewText Behavior.ls < prev    next >
Encoding:
Text File  |  2011-06-09  |  241 b   |  10 lines

  1. global gRacers, gTimeInfo
  2.  
  3. on beginSprite me
  4.   repeat with i = 1 to gTimeInfo.count
  5.     totalTime = totalTime + gTimeInfo[i]
  6.   end repeat
  7.   theText = "Total Time: " && getPrintTime(totalTime)
  8.   sprite(me.spriteNum).member.text = theText
  9. end
  10.